﻿<%@ Page Language="C#" MasterPageFile="~/GUIMaster.Master" AutoEventWireup="true" CodeBehind="CreatedTrips.aspx.cs" Inherits="TripLOA.GUI.secure.CreatedTrips"  meta:resourcekey="Page" culture="auto" uiculture="auto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHomePage" runat="server">

    <h1>
    <asp:Label ID="lblTripList" runat="server" 
        meta:resourcekey="lblTripList"></asp:Label>
</h1>
<div id="createdTripTable" >
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
    <div id="header_content_result_trips"></div>
    <div class="line_content_result_trips">
        
        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                    <ProgressTemplate>
                    <div id="loader_friends">
                        <img alt="Loading please wait" src="../master/resourcesNew/img/loader.gif" />
                           <asp:Label ID="lbl_loader" runat="server" CssClass="lbl_strong" meta:resourcekey="bl_loader"></asp:Label></div>
                        </ProgressTemplate>
        </asp:UpdateProgress>
        
        
        <asp:GridView ID = "GridViewCreatedTrips" AutoGenerateColumns = "False" runat = "server" 
        DataKeyNames="Id" AllowPaging="true"
        OnSelectedIndexChanging="GridViewCreatedTrips_OnSelectedIndexChanging"
        OnPageIndexChanging="GridViewCreatedTrips_OnPageIndexChanging"
       Width="700px"
        meta:resourcekey="GridViewCreatedTripsResource1" BorderStyle="None" 
        GridLines="None" 
            onselectedindexchanged="GridViewCreatedTrips_SelectedIndexChanged" >
    <PagerSettings Mode="Numeric" />
    <PagerStyle HorizontalAlign="Center" />
    <Columns>

    <asp:BoundField DataField="DepartureDate" ItemStyle-CssClass="contentCreatedTripTable" ItemStyle-Width="25%" HeaderStyle-CssClass="headerCreatedTripTable" meta:resourcekey="DepartureDateResource" />
        
    <asp:BoundField DataField = "Departure"  
            HeaderStyle-CssClass="headerCreatedTripTable" ItemStyle-Width="25%" ItemStyle-CssClass="contentCreatedTripTable"
            meta:resourcekey="bfDep">
        </asp:BoundField>
        
    <asp:BoundField DataField = "Arrival" ItemStyle-Width="25%" HeaderStyle-CssClass="headerCreatedTripTable" ItemStyle-CssClass="contentCreatedTripTable"
            meta:resourcekey="bfArr">
        </asp:BoundField>
        <asp:CommandField ItemStyle-Width="19%" CausesValidation="false" ShowSelectButton="true" meta:resourcekey="SelectTripResource" />
    
    
    <asp:TemplateField Visible="false" HeaderStyle-CssClass="headerCreatedTripTable" ItemStyle-CssClass="contentCreatedTripTable">
    <ItemTemplate><div align="center"><asp:Label ID="lblcount" Visible="true" runat="server" /></div>
    </ItemTemplate></asp:TemplateField>
    
      </Columns>
    
    
    </asp:GridView>
    </div>
    <div id="footer_content_result_trips"></div>
    </ContentTemplate>
    </asp:UpdatePanel>

</div>
</asp:Content>
